#define _CRT_SECURE_NO_WARNINGS

#include "SeqList.h"

void Test()
{
	SQL s;
	SeqListInit(&s);

	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushBack(&s, 4);
	SeqListPopBack(&s);
	SeqListPushFront(&s, 5);
	SeqListPushFront(&s, 6);
	SeqListPopFront(&s);
	SeqListPrint(&s);


	int i = SeqListFind(&s, 5);
	SeqListInsert(&s, i, 50);
	SeqListPrint(&s);
	SeqListErase(&s, i);
	SeqListPrint(&s);

	SeqListDestroy(&s);
}
int main()
{
	Test();

	return 0;
}